package com.bl.weilan.dao.repository;

import com.bl.weilan.dao.model.TradeChartEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TradeChartRepository extends JpaRepository<TradeChartEntity, String> {

    List<TradeChartEntity> findByTradeId(String id);

    TradeChartEntity findByTradeIdAndName(String id, String name);

}
